<div class="easyui-layout" data-options="fit:true,border:false">
	<div data-options="region:'center',border:false" style="overflow: hidden;padding: 10px;">
			<div class="edit-btn" style="height:auto;margin-right:0px">
				<div/>
			</div>
  			<form  class="main-form" method="post">	
			 	 	
		    <fieldset>		
			 <table>
			 		 	
				 <tr>
				 	<th>指标名称</th>
					<td><input name="name" id="name" type="text"  class="easyui-textbox easyui-validatebox" style="width:300px" data-options="required:true"/></td>
				    <th>指标代码</th>
					<td><input name="bizcode" id="bizcode" class="easyui-textbox easyui-validatebox" style="width:300px" type="text" /></td>
					
				 </tr>
				 
				 <tr>
				 	<th>指标值</th>
					<td><input name="indicator_value" id="indicator_value" type="text"  class="easyui-textbox easyui-validatebox" style="width:300px" data-options="required:true"/></td>
				    <th>比对类型</th>
					<td>
						<select name="indicator_evalue_type_id" id="indicator_evalue_type_id" 
							class="easyui-combobox" style="width:300px" data-options="
								onSelect: function(rec){									            
									$('#indication-win #indicator_evalue_type_name').val(rec.text); 
								}       
							">
							<option value="ge">大于等于</option>
							<option value="great">大于</option>
							<option value="equ">等于</option>
							<option value="less">小于</option>
							<option value="le">小于等于</option>
						</select>
					</td>
					
				 </tr>
				 
				 
				 <tr>
				 	<th>指标对象</th>
					<td><input name="indicator_unit_name" id="indicator_unit_name" type="text" buttonText="选择" class="easyui-textbox easyui-validatebox" style="width:300px" data-options="required:true"/></td>				    
				    <th>排序编号</th>
					<td><input name="sortedid" id="sortedid" type="text" class="easyui-textbox easyui-validatebox" style="width:300px" /></td>
					
				 </tr>
				 <tr>
				 	<th>指标类别</th>
					<td>
						<select name="indicator_patient_type_id" id="indicator_patient_type_id" 
							class="easyui-combobox" style="width:300px" data-options="
								onSelect: function(rec){									            
									$('#indication-win #indicator_patient_type_name').val(rec.text); 
								}       
							">
							<option value="1">门诊指标</option>
							<option value="2">住院指标</option>
							<option value="3">急诊指标</option>
						</select>										
					</td>
				 	<th>指标类型</th>
					<td>
						<select name="indicator_type_id" id="indicator_type_id" 
							class="easyui-combobox" style="width:300px" data-options="
								onSelect: function(rec){									            
									$('#indication-win #indicator_type').val(rec.text); 
								}       
							">
							<option value="0">单位指标</option>
							<option value="1">部门指标</option>
							<option value="2">个人指标</option>
						</select>										
					</td>
					
				 </tr>
				 
				 <tr>
				 	
				 	<th>时间区间</th>
					<td>
						<select name="indicator_date_zone_id" id="indicator_date_zone_id" 
							class="easyui-combobox" style="width:300px" data-options="
								onSelect: function(rec){									            
									$('#indication-win #indicator_date_zone').val(rec.text); 
								} ">
						
							<option value="1" >年度指标</option>
							<option value="2">季度指标</option>
							<option value="3">月度指标</option>
							<option value="4">周指标</option>
							<option value="5">日指标</option>
							<option value="6">其它指标</option>
						</select>
					</td>
					
				 </tr>
				 		 
				
				 <tr>
				    <th>备注信息</th>
					<td colspan="3"><input class="easyui-textbox" name="remarks" data-options="multiline:true" style="width:674px;height: 100px;" ></input></td>
				 </tr>
			 
			</table>
				<input name="id" id="id"  type="hidden"/>				
				<input name="created" id="created"  type="hidden"/>
				<input name="creater" id="creater"  type="hidden"/>
				<input name="indicator_unit_id" id="indicator_unit_id"  type="hidden"/>	
				<input name="indicator_type" id="indicator_type"  type="hidden"/>	
				<input name="indicator_date_zone" id="indicator_date_zone"  type="hidden"/>
				<input name="indicator_evalue_type_name" id="indicator_evalue_type_name"  type="hidden"/>			
				<input name="indicator_patient_type_name" id="indicator_patient_type_name"  type="hidden"/>
			</fieldset>
		</form>
			
			
		
		
	</div>
</div>
<script>

requirejs(['editPage','indication','domReady!'],function(editPage,indication,doc){
	editPage.init({doc:doc,
		rootId:'panel-indication',
		subSystemCode:'sysman',
		moduleCode:'indication',
		editWindow:'indication-win',
		initElement:indication.initEdit,
		beforeSubmit:indication.beforeSubmit,
		afterSubmit:indication.afterSubmit
	});
});	

</script>